<ui:composition template="/WEB-INF/templates/defaultLayout.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core">

	<ui:define name="title">
		#{lang.getTrans("ui.mobile.sms.title")}
	</ui:define>
	<ui:define name="layoutCenter">
		<h:form>
			<p:panel id="panel" header="#{lang.getTrans('ui.mobile.sms.cadastre')}">
			
				<h:panelGrid columns="2">
					<h:outputLabel value="#{lang.getTrans('ui.mobile.service.situation.name')}"/>
					<p:inputText id=""
						value="#{serviceSituationBean.serviceSituation.cdServiceSituation}"
						required="true"
						requiredMessage="#{lang.getTrans('ui.mobile.service.situation.name.obrigatorio')}"
						size="50" maxlength="120">
					</p:inputText>

					

				</h:panelGrid>

				<p:commandButton value="#{lang.getTrans('ui.mobile.common.save')}"
					type="submit" action="#{smsBean.adicionar}" />
				<p:button value="#{lang.getTrans('ui.mobile.common.cancel')}"
					outcome="sms" />
			</p:panel>
		</h:form>
	</ui:define>
</ui:composition>
